package com.dgut.crm.system.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.dgut.crm.system.entity.Number;
import com.dgut.crm.system.entity.dto.NumberQueryDTO;

public interface INumberService 
{
	public void saveOrUpdate(NumberQueryDTO dto);
	public void delete(NumberQueryDTO dto);
	public void deleteNumbers(List<Long> ids);
	public NumberQueryDTO findOne(Long id);
	//动态条件查询
	public Page<NumberQueryDTO> findAll(Specification<Number> spec, Pageable pageable);
	public void findByNameAndPassword();
}
